﻿using System.Web;
using System.Web.Optimization;

namespace ISODOC
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/WaitingDlg/WaitingDlg.js",
                        "~/Scripts/jquery.cookie.js",
                        "~/Scripts/flexigrid/flexigrid.js",
                        "~/Scripts/json2.js",
                        "~/Scripts/autoNumeric.js",
                "~/Scripts/jquery.toastmessage.js",
                        "~/Scripts/jquery.dateentry.js",
                "~/Scripts/telerik.common.min.js",
                "~/Scripts/telerik.upload.min.js",                      
                        "~/Scripts/jquery.download.js",
                        //"~/Scripts/common.js",
                        "~/Scripts/download.js",
                        "~/Scripts/commonCustom.js",
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));


            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            //bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
            //            "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"
                , "~/Content/themes/nvidia/dropdown.css"
                , "~/Content/themes/nvidia/default.advanced.css"
                , "~/Content/themes/nvidia/default.css"
                , "~/Content/jquery.toastmessage.css",
                 "~/Content/reset.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Scripts/flexigrid/css/flexigrid.css",                       
                        "~/Content/themes/greenTheme/jquery.ui.core.css",
                        "~/Content/themes/greenTheme/jquery.ui.resizable.css",
                        "~/Content/themes/greenTheme/jquery.ui.selectable.css",
                        "~/Content/themes/greenTheme/jquery.ui.accordion.css",
                        "~/Content/themes/greenTheme/jquery.ui.autocomplete.css",
                        "~/Content/themes/greenTheme/jquery.ui.button.css",
                        "~/Content/themes/greenTheme/jquery.ui.dialog.css",
                        "~/Content/themes/greenTheme/jquery.ui.slider.css",
                        "~/Content/themes/greenTheme/jquery.ui.tabs.css",
                        "~/Content/themes/greenTheme/jquery.ui.datepicker.css",
                        "~/Content/themes/greenTheme/jquery.ui.progressbar.css",
                        "~/Content/themes/greenTheme/jquery.ui.theme.css", "~/Scripts/WaitingDlg/WaitingDlg.css"));
        }
    }
}